from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'cmatic.alpha.views.index', name='index'),
    url(r'^([0-9])/?$', 'cmatic.alpha.views.index', name='index'),
    url(r'^update/?$', 'cmatic.alpha.views.update'),
    url(r'^event/(.+)/?$', 'cmatic.alpha.views.event'),
    url(r'^start_event/(.+)/?$', 'cmatic.alpha.views.start_event'),
    url(r'^get/?$', 'cmatic.alpha.views.get_proxy'),
    url(r'^set/?$', 'cmatic.alpha.views.set_proxy'),
    # url(r'^cmatic/', include('cmatic.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
